package com.ctshk.rpc.order.hotel.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(description="订单中心酒店--取消订单")
public class HotelApprovalOrderReq implements Serializable {
    private static final long serialVersionUID = -1L;

    @NotNull(message = "审批id不能为空")
    @ApiModelProperty(value = "审批id", required = true)
    private Long approvalId;

    @NotNull(message = "实际退款金额不能为空")
    @ApiModelProperty(value = "实际退款金额", required = true)
    private BigDecimal actualRefundAmount;

    @NotNull(message = "审批操作不能为空")
    @ApiModelProperty(value = "审批操作(0 撤回, 3 审批通过, 4 审批不通过)", example = "3", required = true)
    private Integer status;

    @ApiModelProperty(value = "通过或拒绝备注", example = "审批不合理不予通过")
    private String comments;

    @NotEmpty(message = "扩展参数不能为空")
    @ApiModelProperty(value = "扩展参数", required = true)
    private String extendParams;

}
